export const HOST="http://www.kangliuyong.com:10002";
export default function request(url,params,method){
	//加默认值 添加appkey
	params={...params,appkey:"U2FsdGVkX19WSQ59Cg+Fj9jNZPxRC5y0xB1iV06BeNA="}
	return uni.request({
		url:HOST+url,
		data:params,
		method
	});
}
export const get =(url,params={})=>{
	return request(url,params,"GET");
}
export const post=(url,data={})=>{
	return request(url,data,"POST")
}
